package com.b0;

public class StudentManager {
    public static void main(String[] args){
        Student stu1;  //空引用，相当于一个空指针
         Student stu2=new Student();  //stu2存储在栈区，实例化对象在堆区，相当于是一个指针指向了堆区的对象
        stu2.setAge(100000);
        System.out.println(stu2.getAge());
    }
}
